package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.ExpenseBook;
import cn.wolfcode.edu.query.ExpenseBookQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExpenseBookMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExpenseBook record);

    ExpenseBook selectByPrimaryKey(Long id);

    List<ExpenseBook> selectAll(ExpenseBookQueryObject qo);

    int updateByPrimaryKey(ExpenseBook record);

    List<ExpenseBook> queryForList(ExpenseBookQueryObject qo);

    int queryForRows();

    void chanageStatus(@Param("expId") Long expid, @Param("empId") Long empId);
}